[INFO] fetching crate assert_snapshot 0.1.3...
[INFO] checking assert_snapshot-0.1.3 against master#158f00a1c5175648af6f6099b075f78d1d014a28 for pr-121251
[INFO] extracting crate assert_snapshot 0.1.3 into /workspace/builds/worker-1-tc1/source
[INFO] validating manifest of crates.io crate assert_snapshot 0.1.3 on toolchain 158f00a1c5175648af6f6099b075f78d1d014a28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate assert_snapshot 0.1.3
[INFO] finished tweaking crates.io crate assert_snapshot 0.1.3
[INFO] tweaked toml for crates.io crate assert_snapshot 0.1.3 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded itertools v0.7.11
[INFO] [stderr]   Downloaded sorted-json v0.1.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fa235327e928552ede6a08ecbef18aa660f44ca06ac3767503eb7b162f8ccaa7
[INFO] running `Command { std: "docker" "start" "-a" "fa235327e928552ede6a08ecbef18aa660f44ca06ac3767503eb7b162f8ccaa7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fa235327e928552ede6a08ecbef18aa660f44ca06ac3767503eb7b162f8ccaa7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fa235327e928552ede6a08ecbef18aa660f44ca06ac3767503eb7b162f8ccaa7", kill_on_drop: false }`
[INFO] [stdout] fa235327e928552ede6a08ecbef18aa660f44ca06ac3767503eb7b162f8ccaa7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c1fd61508186319c21d829b386d68643c28ee129796794853733809ed687da34
[INFO] running `Command { std: "docker" "start" "-a" "c1fd61508186319c21d829b386d68643c28ee129796794853733809ed687da34", kill_on_drop: false }`
[INFO] [stderr]     Checking memchr v2.7.1
[INFO] [stderr]     Checking itertools v0.7.11
[INFO] [stderr]     Checking sorted-json v0.1.0
[INFO] [stderr]     Checking object v0.32.2
[INFO] [stderr]     Checking aho-corasick v1.1.2
[INFO] [stderr]     Checking regex-automata v0.4.5
[INFO] [stderr]     Checking regex v1.10.3
[INFO] [stderr]     Checking backtrace v0.3.69
[INFO] [stderr]     Checking failure v0.1.8
[INFO] [stderr]     Checking assert_snapshot v0.1.3 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0597]: `re` does not live long enough
[INFO] [stdout]   --> src/function.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let re = Regex::new(
[INFO] [stdout]    |         -- binding `re` declared here
[INFO] [stdout] ...
[INFO] [stdout] 18 |     re.captures_iter(&content).next().unwrap()[1].to_string()
[INFO] [stdout]    |     ^^------------------------
[INFO] [stdout]    |     |
[INFO] [stdout]    |     borrowed value does not live long enough
[INFO] [stdout]    |     a temporary with access to the borrow is created here ...
[INFO] [stdout] 19 | }
[INFO] [stdout]    | -
[INFO] [stdout]    | |
[INFO] [stdout]    | `re` dropped here while still borrowed
[INFO] [stdout]    | ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `regex::CaptureMatches<'_, '_>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the temporary is part of an expression at the end of a block;
[INFO] [stdout]            consider forcing this temporary to be dropped sooner, before the block's local variables are dropped
[INFO] [stdout] help: for example, you could save the expression's value in a new local variable `x` and then make `x` be the expression at the end of the block
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let x = re.captures_iter(&content).next().unwrap()[1].to_string(); x
[INFO] [stdout]    |     +++++++                                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0597]: `re` does not live long enough
[INFO] [stdout]   --> src/function.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let re = Regex::new(
[INFO] [stdout]    |         -- binding `re` declared here
[INFO] [stdout] ...
[INFO] [stdout] 18 |     re.captures_iter(&content).next().unwrap()[1].to_string()
[INFO] [stdout]    |     ^^------------------------
[INFO] [stdout]    |     |
[INFO] [stdout]    |     borrowed value does not live long enough
[INFO] [stdout]    |     a temporary with access to the borrow is created here ...
[INFO] [stdout] 19 | }
[INFO] [stdout]    | -
[INFO] [stdout]    | |
[INFO] [stdout]    | `re` dropped here while still borrowed
[INFO] [stdout]    | ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `regex::CaptureMatches<'_, '_>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the temporary is part of an expression at the end of a block;
[INFO] [stdout]            consider forcing this temporary to be dropped sooner, before the block's local variables are dropped
[INFO] [stdout] help: for example, you could save the expression's value in a new local variable `x` and then make `x` be the expression at the end of the block
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let x = re.captures_iter(&content).next().unwrap()[1].to_string(); x
[INFO] [stdout]    |     +++++++                                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0597`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `assert_snapshot` (lib) due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0597`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `assert_snapshot` (lib test) due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "c1fd61508186319c21d829b386d68643c28ee129796794853733809ed687da34", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c1fd61508186319c21d829b386d68643c28ee129796794853733809ed687da34", kill_on_drop: false }`
[INFO] [stdout] c1fd61508186319c21d829b386d68643c28ee129796794853733809ed687da34
[INFO] checking assert_snapshot-0.1.3 against try#b4fc5dbf0bc33be331f9d893db5b3a794f29724a+rustflags=-Dexplicit_range -Dtrait_impl_range -Wrange_syntax -Wrange_bounds for pr-121251
[INFO] extracting crate assert_snapshot 0.1.3 into /workspace/builds/worker-1-tc2/source
[INFO] validating manifest of crates.io crate assert_snapshot 0.1.3 on toolchain b4fc5dbf0bc33be331f9d893db5b3a794f29724a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate assert_snapshot 0.1.3
[INFO] finished tweaking crates.io crate assert_snapshot 0.1.3
[INFO] tweaked toml for crates.io crate assert_snapshot 0.1.3 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a6deb0a9b1ba88ccc0f6db83b6ae5a8896db4dce2d7d44839a97560699f18cc2
[INFO] running `Command { std: "docker" "start" "-a" "a6deb0a9b1ba88ccc0f6db83b6ae5a8896db4dce2d7d44839a97560699f18cc2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a6deb0a9b1ba88ccc0f6db83b6ae5a8896db4dce2d7d44839a97560699f18cc2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a6deb0a9b1ba88ccc0f6db83b6ae5a8896db4dce2d7d44839a97560699f18cc2", kill_on_drop: false }`
[INFO] [stdout] a6deb0a9b1ba88ccc0f6db83b6ae5a8896db4dce2d7d44839a97560699f18cc2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dexplicit_range -Dtrait_impl_range -Wrange_syntax -Wrange_bounds" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e572719229043ab6bde521a11520023a08eb060866d107043612a488a38ee30a
[INFO] running `Command { std: "docker" "start" "-a" "e572719229043ab6bde521a11520023a08eb060866d107043612a488a38ee30a", kill_on_drop: false }`
[INFO] [stderr]     Checking memchr v2.7.1
[INFO] [stderr]     Checking itertools v0.7.11
[INFO] [stderr]     Checking object v0.32.2
[INFO] [stderr]     Checking aho-corasick v1.1.2
[INFO] [stderr]     Checking sorted-json v0.1.0
[INFO] [stderr]     Checking regex-automata v0.4.5
[INFO] [stderr]     Checking regex v1.10.3
[INFO] [stderr]     Checking backtrace v0.3.69
[INFO] [stderr]     Checking failure v0.1.8
[INFO] [stderr]     Checking assert_snapshot v0.1.3 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0597]: `re` does not live long enough
[INFO] [stdout]   --> src/function.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let re = Regex::new(
[INFO] [stdout]    |         -- binding `re` declared here
[INFO] [stdout] ...
[INFO] [stdout] 18 |     re.captures_iter(&content).next().unwrap()[1].to_string()
[INFO] [stdout]    |     ^^------------------------
[INFO] [stdout]    |     |
[INFO] [stdout]    |     borrowed value does not live long enough
[INFO] [stdout]    |     a temporary with access to the borrow is created here ...
[INFO] [stdout] 19 | }
[INFO] [stdout]    | -
[INFO] [stdout]    | |
[INFO] [stdout]    | `re` dropped here while still borrowed
[INFO] [stdout]    | ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `regex::CaptureMatches<'_, '_>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the temporary is part of an expression at the end of a block;
[INFO] [stdout]            consider forcing this temporary to be dropped sooner, before the block's local variables are dropped
[INFO] [stdout] help: for example, you could save the expression's value in a new local variable `x` and then make `x` be the expression at the end of the block
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let x = re.captures_iter(&content).next().unwrap()[1].to_string(); x
[INFO] [stdout]    |     +++++++                                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0597]: `re` does not live long enough
[INFO] [stdout]   --> src/function.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let re = Regex::new(
[INFO] [stdout]    |         -- binding `re` declared here
[INFO] [stdout] ...
[INFO] [stdout] 18 |     re.captures_iter(&content).next().unwrap()[1].to_string()
[INFO] [stdout]    |     ^^------------------------
[INFO] [stdout]    |     |
[INFO] [stdout]    |     borrowed value does not live long enough
[INFO] [stdout]    |     a temporary with access to the borrow is created here ...
[INFO] [stdout] 19 | }
[INFO] [stdout]    | -
[INFO] [stdout]    | |
[INFO] [stdout]    | `re` dropped here while still borrowed
[INFO] [stdout]    | ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `regex::CaptureMatches<'_, '_>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the temporary is part of an expression at the end of a block;
[INFO] [stdout]            consider forcing this temporary to be dropped sooner, before the block's local variables are dropped
[INFO] [stdout] help: for example, you could save the expression's value in a new local variable `x` and then make `x` be the expression at the end of the block
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let x = re.captures_iter(&content).next().unwrap()[1].to_string(); x
[INFO] [stdout]    |     +++++++                                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0597`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `assert_snapshot` (lib) due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0597`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `assert_snapshot` (lib test) due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "e572719229043ab6bde521a11520023a08eb060866d107043612a488a38ee30a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e572719229043ab6bde521a11520023a08eb060866d107043612a488a38ee30a", kill_on_drop: false }`
[INFO] [stdout] e572719229043ab6bde521a11520023a08eb060866d107043612a488a38ee30a
